<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			// 查看数据的类型:typeof 操作符
			console.log(typeof "coderwhy");//string
			console.log(typeof 123);//number
			
			var name = "kobe";
			console.log(typeof name);//string
			
			// typeof另外一种写法:typeof(数据/变量)			
			console.log(typeof("coderwhy"));//string
		</script>
	</body>
</html>
